package cn.stylefeng.guns.modular.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * 库位物料表
 */
@TableName("basic_positionmaterial")
@Data
public class BasicPositionmaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 库位id
     */
    @TableField("position_id")
    private Long positionId;

    /**
     * 库位编号
     */
    @TableField("position_number")
    private String positionNumber;

    /**
     * 物料编码
     */
    @TableField("material_number")
    private String materialNumber;

    /**
     * 物料描述
     */
    @TableField("material_name")
    private String materialName;

    /**
     * 物料大类
     */
    @TableField("big_type")
    private String bigType;

    /**
     * 物料类别
     */
    @TableField("goods_type")
    private String goodsType;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    @Override
    public String toString() {
        return "BasicPositionmaterial{" +
        "id=" + id +
        ", positionId=" + positionId +
        ", positionNumber=" + positionNumber +
        ", materialNumber=" + materialNumber +
        ", materialName=" + materialName +
        ", bigType=" + bigType +
        ", goodsType=" + goodsType +
        ", deliverId=" + deliverId +
        ", deptId=" + deptId +
        "}";
    }
}
